Api.GetFeatureStatus method

Gets the current state of a feature from the subsystem.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsReturn<double> GetFeatureStatus(
       KsFeature Feature
)
Public Function GetFeatureStatus(
       Feature As KsFeature
) As KsReturn(Of Double)

Parameters

Feature

Type: KsFeature

Specifies which feature to check if enabled or disabled.

Return value

Type: KsReturn<double>

Returns a KsError code and a double value.

Usable EtherCAT states

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.Local.Api Namespace